<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*,
                 com.kylin.common.*,
                 com.kylin.common.util.*,
                 com.kylin.module.specials.orm.*,
				 com.kylin.module.specials.forms.*,
				 com.kylin.common.dict.orm.Dict,
                 com.kylin.common.paginate.DisplayPage
                 "%>
<%@ include file="/common/include/taglibs.jsp"%>
<table width="520">
	<tr>
		<td>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td align="center">
		<script type="text/javascript"><!--
google_ad_client = "pub-6007578250513537";
/* 468x60, 创建于 08-5-13 */
google_ad_slot = "5206242207";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
					</td>
				</tr>
			</table>
	<%
		if (request.getAttribute(Constants.KEY_REQUEST_RESULT) instanceof SpecialPart) {
			SpecialPart part = (SpecialPart)request.getAttribute(Constants.KEY_REQUEST_RESULT);
			DisplayPage displayPage = part.getPageData();
			String ownUrl = "/module/special/manageSpecial.do?CMD=listByCat";
			String specialDetailUrl = "/module/special/manageSpecial.do?CMD=detailSpecial&id=";
	%><br>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="30%" class="stitle">
						<%=part.getPartName() %>
					</td>
					<td align="right" bgcolor="E2E2E2">
						&nbsp;&nbsp;
					</td>
				</tr>
	<%
			for (int i = 0; i < displayPage.getList().size(); i++) {
				Special special = (Special) displayPage.getList().get(i);
	%>
				<tr align="left" class="s01">
					<td colspan="2" valign="top">
						&#149;&nbsp;
						<a href="<%=specialDetailUrl+special.getId() %>" target="_blank"><%=special.getTitle()%>
						</a>
					</td>
				</tr>
	<%
			}
			out.print(JspHelper.getPageBar(displayPage, ownUrl));
		} else {
			out.println("未找到记录");
		}
	%>
			</table>
			<p></p>

		</td>
		<td class="lessr" valign="top">
			<table align="center" cellspacing="0" cellpadding="0">
				<tr>
					<td>
				<script type="text/javascript"><!--
google_ad_client = "pub-6007578250513537";
/* 120x600, 创建于 08-5-13 */
google_ad_slot = "2995537009";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

